.warp {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.warp-row {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.scrollTop {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid #EBEAE7;
  border-radius: 50px;
  position: fixed;
  right: -100px;
  bottom: 140px;
  z-index: 1000;
  opacity: 0;
  transition: 0.5s;
  @include flexBox(center, center);
  &.show {
    opacity: 1;
    right: 62px;
  }
}
.backHome {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid #EBEAE7;
  border-radius: 50px;
  position: fixed;
  right: 30px;
  bottom: 284px;
  z-index: 1000;
  @include flexBox(center, center);
  svg {
    width: 44px!important;
  }
}
// 判断iphoneX 将 footerBox 的 padding-bottom 填充到最底部
@supports (bottom: env(safe-area-inset-bottom)) {
  .scrollTop, .backHome {
    margin-bottom: env(safe-area-inset-bottom);
  }
}
